package com.ficus.road.maintain.client.Response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 单位履职细节
 */
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class ManagementUnitDetailResponse {

    /**
     * 考核评分表中的 unid
     */
    @JsonProperty("firstProject")
    private String firstProject;
    /**
     * 详情表unid
     */

    @JsonProperty("totalScore")
    private double totalScore = 0.0;
    /**
     * 详情表父节点unid
     */
    @JsonProperty("details")
    private List<Children> details = new ArrayList<>();

}
